View Javadoc
1   package edu.jiangxin.apktoolbox.reverse;
2   
3   import edu.jiangxin.apktoolbox.swing.extend.listener.ChangeMenuToPluginListener;
4   import edu.jiangxin.apktoolbox.utils.Utils;
5   
6   import java.io.File;
7   
8   /**
9    * @author jiangxin
10   * @author 2018-09-30
11   *
12   */
13  public class ChangeMenuToPluginJadxListener extends ChangeMenuToPluginListener {
14      @Override
15      public String getPluginFilename() {
16          return "jadx-1.4.7.zip";
17      }
18  
19      @Override
20      public boolean isPluginNeedUnzip() {
21          return true;
22      }
23  
24      @Override
25      public String getPluginStartupCmd() {
26          String dirPath = getPluginFilename().replace(".zip", "");
27          return Utils.getPluginDirPath() + File.separator + dirPath + File.separator + "bin" + File.separator + "jadx-gui.bat";
28      }
29  }